package cn.itrip.dao;

import cn.itrip.pojo.ItripUser;
import org.apache.ibatis.annotations.Param;

public interface ItripUserMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ItripUser record);

    int insertSelective(ItripUser record);

    ItripUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ItripUser record);

    int updateByPrimaryKey(ItripUser record);

    /**
     * 根据用户名查询用户
     * @param userCode
     * @return
     */
    ItripUser selectByUserCode(@Param("userCode") String userCode);
}